package com.hsh.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hsh.entity.SysExcelContent;
import com.hsh.vo.result.dynamic.ExcelContent;
import com.hsh.mapper.SysExcelContentMapper;
import com.hsh.service.ISysExcelContentService;
import org.springframework.stereotype.Service;

/**
 * <p>
 * excel 内容表 服务实现类
 * </p>
 *
 * @author 黄思海
 * @since 2021-09-07
 */
@Service
public class SysExcelContentServiceImpl extends ServiceImpl<SysExcelContentMapper, SysExcelContent> implements ISysExcelContentService {

    @Override
    public Page<ExcelContent> getDynamicContent(Long templateId, Page<ExcelContent> page) {
        return baseMapper.getDynamicContentAll(page, templateId);
    }
}
